# -*- coding: utf-8 -*-
"""
@Time ： 2020/8/4 20:33
@Auth ： Mr. William 1052949192
@Company ：特斯汀学院 @testingedu.com.cn
@Function ：调用类运行
"""
from class06.example01 import Dog
from class06.example03 import Re_Str

# print(Dog.get_type())

# # 创建狗的对象
# dog = Dog('小黑')
# dog1 = Dog('小白')
# # print(Dog.get_type())
# # Dog.set_type('中华田园犬')
# # print(Dog.get_type())
#
# dog.bark('半天')
# dog.set_dog_name('小黑')



# 白狗类
# from class06.example02 import White_Dog,Little_Dog
#
# wdog = White_Dog('小白')
# wdog.bark(n='')
# wdog.set_dog_name('小黑')
# print(White_Dog.get_type())

# 多重继承
# ldog = Little_Dog()
# print(ldog.name)
# ldog.test()



# # 私有
# dog = Dog('小黑')
# print(dog.__doc__)
# dog.__getattribute__('bark')('111')


# 回文字符串
re_str = Re_Str('aba')
print(re_str.get_reserved_str())

